<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<script type="text/javascript">
$(function() {
	//fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})
</script>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						保单明细
						<div class="tools-btn">
							<a href="javascript:" id="fullScreen"><span> <img
										src="${path}/statics/images/qp.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />全 屏</span> </a>
						    <a href="javascript:" onclick="javascript: history.back();"><span> <img
										src="${path}/statics/images/Redo.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />返 回</span> </a>
						</div>
					</div>
				</div>

				<div class="webpart-main">
					<div class="webpart-main-item" style="padding-top: 12px;" >
						<!-- 查詢列表 -->
						<div id="mylist" style="height: 365px;overflow: scroll;" class="dlist" width="100%">
							<table id="mytable" class="dg_borderstyle  trStyleTable" width="250%"
								style="overflow-x: scroll;" cellspacing="0" cellpadding="0"
								style="margin-top: 15px;">
								<tr>
									<th width="40px">
										<span>序号</span>
									</th>
									<th style="min-width: 80px;">
										<span>保单号</span>
									</th>
									<th style="min-width: 100px;">
										<span>投保单号</span>
									</th>
									<th style="min-width: 80px;">
										<span>代理人</span>
									</th>
									<th style="min-width: 80px;">
										<span>保单状态</span>
									</th>
									<th style="min-width: 80px;">
										<span>投保人</span>
									</th>
									<th style="min-width: 100px;">
										<span>受理机构</span>
									</th>
									<th style="min-width: 100px;">
										<span>供应商</span>
									</th>
									<th style="min-width: 200px;">
										<span>险种</span>
									</th>
									<th style="min-width: 80px;">
										<span>保费</span>
									</th>
									<th style="min-width: 80px;">
										<span>FYB</span>
									</th>
									<th style="min-width: 80px;">
										<span>价保</span>
									</th>
									<th style="min-width: 100px;">
										<span>投保日期</span>
									</th>
								</tr>
								<c:forEach items="${pagination.resultList}" var="list">
									<tr>
										<td>
											${list.ROWINDEX}
										</td>
										<td>
											<span> <A
												href="${path}/routine/agent/index/policyinfo?commbizid=${list.COL1}">
													${list.CONTRACTNO == ''?'未知':list.CONTRACTNO}</A> </span>
										</td>
										<td>
											<span>${list.APPLICATIONNO}</span> </td> <td>
												<span>${list.AGENTNAME}</span>
										</td>
										<td>
											<span>${list.CONTRACTSTATUS}</span>
										</td>
										<td>
											<span>${list.CUSTOMERNAME}</span>
										</td>
										<td>
											<span>${list.ABBRNAME}</span>
										</td>
										<td>
											<span>${list.PROVIDERABBR}</span>
										</td>
										<td title="${list.PRODUCTNAME}" style="width:120px;overflow: hidden;display: block;text-overflow: ellipsis;white-space: nowrap;">
											<span>${list.PRODUCTNAME}</span>
										</td>
										<td>
											<span>${list.ACCEPTAMOUNT}</span>
										</td>
										<td>
											<span>${list.FYB}</span>
										</td>
										<td>
											<span>${list.VALUEPREM}</span>
										</td>
										<td>
											<span>${list.APPLYDATE}</span>
										</td>
									</tr>
								</c:forEach>
							</table>
						</div>
						
						<c:if test="${not empty pagination.multiPage}">
							<div class="dg_pagerstyle">
								<div class="pageinfo">
									第${pagination.page }页 | 共${pagination.totalPages
									}页/${pagination.totalRows }条记录
								</div>

								<div class="pagebtn">
									${pagination.multiPage}
								</div>
							</div>
						</c:if>
					</div>
					<div class="webpart-foot">
						<div class="webpart-foot-item"></div>
					</div>
				</div>
			</div>
		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>
